/**
 *
 * Copyright (c) 2014-2016 All Rights Reserved.
 */
package org.tinygroup.eventruntimemonitor.inter;

import java.util.List;

import org.tinygroup.eventruntimemonitor.pojo.EventRuntimeSummaryInfo;

/**
 * 统计汇总信息数据库数据提供者
 * @author zhangliang08072
 * @version $Id: EventRuntimeSummaryInfoProvider.java, v 0.1 2016年12月29日
 *          下午11:07:48 zhangliang08072 Exp $
 */
public interface EventRuntimeSummaryInfoDbProvider {
	
	void addEventRuntimeSummaryInfo(EventRuntimeSummaryInfo summaryInfo);
	
	void updateEventRuntimeSummaryInfo(EventRuntimeSummaryInfo summaryInfo);

	EventRuntimeSummaryInfo getEventRuntimeSummaryInfoById(String businessId,String type);
	
	List<EventRuntimeSummaryInfo> queryEventRuntimeSummaryInfos(String businessId,String type,String sortField,String sortOrder,int start, int limit);
	
	int countEventRuntimeSummaryInfos(String businessId,String type);
}
